<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Preparing for the Backup">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="hdfs_00008.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20241029">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="hdfs_00011">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Preparing for the Backup</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="hdfs_00011"></a><a name="hdfs_00011"></a>

<h1 class="topictitle1">Preparing for the Backup</h1>
<div><p>Before backing up an HDFS cluster, prepare related information as follows:</p>
<ul><li><a href="#hdfs_00011__table481544017344">Table 1</a> lists the information required.</li><li><a href="#hdfs_00011__table17163125610819">Table 2</a> lists the information required when the authentication mode for communication between the HDFS cluster and the <span>OceanProtect</span> is <span class="uicontrol"><b><span><strong>Simple Authentication</strong></span></b></span>.</li><li><a href="#hdfs_00011__table8758104318915">Table 3</a> lists the information required when the authentication mode for communication between the HDFS cluster and the <span>OceanProtect</span> is <span class="uicontrol"><b><span><strong>Kerberos Authentication</strong></span></b></span>.</li></ul>

<div class="tablenoborder"><a name="hdfs_00011__table481544017344"></a><a name="table481544017344"></a><table cellpadding="4" cellspacing="0" summary="" id="hdfs_00011__table481544017344" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Preparing for the backup</caption><colgroup><col style="width:20%"><col style="width:20%"><col style="width:40%"><col style="width:20%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.5.1.1"><p>Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.5.1.3"><p>How to Obtain</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.5.1.4"><p>To Be Used In</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.1 "><p>hdfs-site.xml</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="40%" headers="mcps1.3.3.2.5.1.3 "><p>For details, see <a href="hdfs_00015.html#hdfs_00015__section10758914153313">Prerequisites</a>.</p>
<p></p>
<p></p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="20%" headers="mcps1.3.3.2.5.1.4 "><p><a href="hdfs_00015.html">Step 3: Registering an HDFS Cluster</a></p>
<p></p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p>core-site.xml</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>Yes</p>
</td>
</tr>
</tbody>
</table>
</div>

<div class="tablenoborder"><a name="hdfs_00011__table17163125610819"></a><a name="table17163125610819"></a><table cellpadding="4" cellspacing="0" summary="" id="hdfs_00011__table17163125610819" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Information required for simple authentication</caption><colgroup><col style="width:20%"><col style="width:20%"><col style="width:40%"><col style="width:20%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.5.1.1"><p>Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.5.1.3"><p>How to Obtain</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.5.1.4"><p>To Be Used In</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.5.1.1 "><p>Authentication username</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.5.1.3 "><p>Obtain the username from the big data platform administrator.</p>
<div class="note"><span class="notetitle"> NOTE: </span><div class="notebody"><p>The username must have the read and write permissions on the resources to be accessed.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.5.1.4 "><p><a href="hdfs_00015.html">Step 3: Registering an HDFS Cluster</a></p>
</td>
</tr>
</tbody>
</table>
</div>

<div class="tablenoborder"><a name="hdfs_00011__table8758104318915"></a><a name="table8758104318915"></a><table cellpadding="4" cellspacing="0" summary="" id="hdfs_00011__table8758104318915" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Information required for Kerberos authentication</caption><colgroup><col style="width:20%"><col style="width:20%"><col style="width:40%"><col style="width:20%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.2.5.1.1"><p>Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.5.2.5.1.3"><p>How to Obtain</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.2.5.1.4"><p>To Be Used In</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.2.5.1.1 "><p>Principal name of Kerberos authentication</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.5.2.5.1.3 "><p>Obtain the principal name from the Kerberos server administrator.</p>
<div class="note"><span class="notetitle"> NOTE: </span><div class="notebody"><ul><li>The principal name must have read and write permissions on the resources to be accessed.</li><li>If you need to restore HDFS ACL information during HDFS file restoration, the registered principal name must have HDFS super user permissions. For example, you can add the principal name to the supergroup on the big data platform so that the user has HDFS super user permissions.</li></ul>
</div></div>
</td>
<td class="cellrowborder" rowspan="4" valign="top" width="20%" headers="mcps1.3.5.2.5.1.4 "><p><a href="hdfs_00015.html">Step 3: Registering an HDFS Cluster</a></p>
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p><span class="filepath"><b>.conf</b></span> configuration file (for example, <strong>krb5.conf</strong>) used during Kerberos authentication</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>Contact the Kerberos server administrator to obtain the file from the Kerberos server.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p>Password of the principal name</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>No</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>If Kerberos authentication is performed using a password, you need to obtain the password of the principal name.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p><span class="filepath"><b>.keytab</b></span> file</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>No</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>If Kerberos authentication is performed using a <span class="filepath"><b>.keytab</b></span> file, you need to obtain the <span class="filepath"><b>.keytab</b></span> file.</p>
<p>Contact the Kerberos server administrator to obtain the file from the Kerberos server.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="hdfs_00008.html">Backup</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>